package com.guigu.order.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 货品总重量 
 * </p>
 *
 * @author TaoLong
 * @since 2021-11-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pd_order_cargo")
@ApiModel(value="OrderCargo对象", description="货品总重量 ")
public class OrderCargo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "订单id")
    private String orderId;

    @ApiModelProperty(value = "运单id")
    private String tranOrderId;

    @ApiModelProperty(value = "货物类型id")
    private String goodsTypeId;

    @ApiModelProperty(value = "货物名称")
    private String name;

    @ApiModelProperty(value = "货物单位")
    private String unit;

    @ApiModelProperty(value = "货品货值")
    private BigDecimal cargoValue;

    @ApiModelProperty(value = "货品条码")
    private String cargoBarcode;

    @ApiModelProperty(value = "货品数量")
    private Integer quantity;

    @ApiModelProperty(value = "货品体积")
    private BigDecimal volume;

    @ApiModelProperty(value = "货品重量")
    private BigDecimal weight;

    @ApiModelProperty(value = "货品备注")
    private String remark;

    @ApiModelProperty(value = "货品总体积")
    private BigDecimal totalVolume;

    @ApiModelProperty(value = "货品总重量")
    private BigDecimal totalWeight;


}
